package com.jk.service;

import com.jk.entity.OrderEntity;
import com.jk.entity.SecondKillEntity;

import java.util.List;
import java.util.Map;

public interface SecKillService {
    List<SecondKillEntity> findSec(SecondKillEntity secondKillEntity);

    List<SecondKillEntity> findSecfour();

    int findCount(Integer id);

    void saveOrder(OrderEntity product);

    void addKill(SecondKillEntity secondKill);

    void buy(Integer proId);

    List<SecondKillEntity> findSecAll(SecondKillEntity secondKill);

    void delSecPro(Integer id);
}
